package com.yootk;
import java.io.*;
public class Yootkdemo {
    public static void main(String[] args) throws IOException {
        File file = new File("C:" +File.separator + "muyan" + File .separator +"vip" + File.separator +"yootk.txt");
        if (!file.getParentFile().exists()) {
            file.getParentFile().mkdir();
        }
        OutputStream out = new FileOutputStream(file);
        String message = "www.yootk.com";
        byte data[] = message.getBytes();

        output.write(data);
        output.close();

    }
}
